KnitPay\Gateways\Paypal\Integration S

Total Complexity 28
Dependencies 4
Dependents 0
Total lines 296
Lines of code 196
Logical lines of code 83
Comment lines 51
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_oauth_connect_button_fields()
A
40 5 69
save_token()
S
58 5 14
__construct()
S
57 2 17
get_oauth_connection_status_fields()
S
52 1 28
get_gateway()
S
62 2 12
add_paypal_partner_id()
S
69 2 6
gateway_configuration_display_value()
S
75 2 4
get_oauth_token_request_body()
S
74 2 4
save_post()
S
69 2 7
setup()
S
65 1 10
get_child_config()
S
63 1 10
clear_child_config()
S
68 1 7
is_oauth_connected()
S
80 1 3
configure_webhook()
S
72 1 5